"========
"Vim-Plug
"========
autocmd VimEnter *
  \  if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
  \|   PlugInstall --sync | q
  \| endif

" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged')
" Status line
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'

" c-support
Plug 'WolfgangMehner/c-support'

" Auto Complete (coc.nvim)
" Use release branch (recommend)
Plug 'neoclide/coc.nvim', {'branch': 'release'}

" File navigation
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'

" taglist - Source Code Browser plugin for Vim
"Plug 'yegappan/taglist'
"Plug 'liuchengxu/vista.vim'



" Undo Tree
"Plug 'mbbill/undotree'

" Markdown
"Plug 'suan/vim-instant-markdown', {'for': 'markdown'}
"Plug 'dhruvasagar/vim-table-mode', { 'on': 'TableModeToggle', 'for': ['text', 'markdown', 'vim-plug'] }
"Plug 'mzlogin/vim-markdown-toc', { 'for': ['gitignore', 'markdown', 'vim-plug'] }
"Plug 'dkarter/bullets.vim'


"Plug 'voldikss/vim-translator', { 'on':'<Plug>Translate' }
Plug 'voldikss/vim-translator'


" Vim c/c++ syntax highlighting
Plug 'octol/vim-cpp-enhanced-highlight'
Plug 'jackguo380/vim-lsp-cxx-highlight'


" Vim plugin for .tmux.conf
" Plug 'tmux-plugins/vim-tmux'


" Vim devicons
Plug 'ryanoasis/vim-devicons'

" The NERDTree is a file system explorer for the Vim editor.
Plug 'preservim/nerdtree'


" Auto Pairs
Plug 'jiangmiao/auto-pairs'


" Modern Task System for Project Building, Testing and Deploying !! 
Plug 'skywind3000/asynctasks.vim'
Plug 'skywind3000/asyncrun.vim'


" Terminal manager for (Neo)Vim
Plug 'voldikss/vim-floaterm'


" Retro groove color scheme for Vim 
"Plug 'morhetz/gruvbox'
"Plug 'joshdick/onedark.vim'

" The Toolkit for Vim Color Scheme Desiners
"Plug 'lifepillar/vim-colortemplate'


" Initialize plugin system
call plug#end()
